
let sql = `SELECT COUNT(*) as count FROM oper  LEFT JOIN role ON oper.role_id=role.id  WHERE 1=1 and oper.account='') OR (SELECT*FROM(SELECT(SLEEP(3)))vjik) limit 1#`;

if (/--|\b(ALTER|CREATE|DROP|EXEC|MERGE|SLEEP)\b/i.test(sql)) {
    console.info('mysql query error: sql contains dangerous characters');
}
console.info('mysql query ok');